Skip to content

docs: fix setup errors and gaps in the guides - #930

Merged
cpojer merged 1 commit into
mainfrom
docs/new-user-fixes
Nov 27, 2026
Merged

cpojer merged 1 commit into
mainfrom
docs/new-user-fixes

Conversation

@hyfdev

@hyfdev hyfdev commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Some guides fail when followed as written: the SvelteKit install gets an adapter version Void doesn't build with, and the form examples show each validation error twice.

This PR fixes those two, plus four smaller errors and gaps listed below.

  • SvelteKit: the unversioned @sveltejs/adapter-cloudflare install resolves to 9.0.1, and vite build fails because .wrangler/deploy/config.json is missing (ENOENT). The command now installs @8. Void's SvelteKit deploy expects adapter 8's output layout, and the repository's dependency catalog pins ^8.0.4 for that reason.

  • Forms: Form already lists field errors in its alert, and the examples also rendered them beside each input:

    <div role="alert" data-void-form-error="true">Too small: expected string to have >=1 characters</div>
    <span>Too small: expected string to have >=1 characters</span>

    The Form examples no longer render field errors. The page says what the alert shows. It gives a React example that puts each message beside its input with a plain <form>, and warns that a plain form doesn't block submitting during a retry delay the way Form does.

  • Errors: when the root _error handles an HTTPException from a nested page, the nested layout disappears, but the page said the error renders in the page's layout. It now says the _error keeps only the page's layouts at or above its own directory.

  • Database: void db migrate rejects a destructive migration unless the file has -- void:allow-destructive. The reference now says so.

  • Jobs and queues: the dev trigger endpoints don't work in vp preview or vite preview. The guides now say so.

  • Setup: npm create void takes a directory name, not a path. The reference now gives the name rules.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://docs-new-user-fixes-void-cloud.voidzero-docs.workers.dev (commit 9d08947)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://67a87115-void-cloud.voidzero-docs.workers.dev 9d08947 2026-11-26T15:41:57.262Z Visit the dashboard ↗
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://8a419253-void-cloud.voidzero-docs.workers.dev 79510bd 2026-11-26T13:22:45.683Z Visit the dashboard ↗

@hyfdev
hyfdev force-pushed the docs/new-user-fixes branch from 79510bd to 9d08947 Compare November 26, 2026 15:39
@hyfdev
hyfdev marked this pull request as ready for review November 26, 2026 15:44
Copilot AI balanced review requested due to automatic review settings November 26, 2026 15:44

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@cpojer
cpojer merged commit 343c192 into main Nov 27, 2026
14 checks passed
@cpojer
cpojer deleted the docs/new-user-fixes branch November 27, 2026 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants